<!--
 * @Author: your name
 * @Date: 2020-10-19 09:11:43
 * @LastEditTime: 2020-10-19 09:25:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \sende_nuxt\components\common\modelMessage.vue
-->
<template>
    <transition name="el-fade-in">
        <div v-show="isShow" class="modelMessage" ref="modelMessage">
            <div class="ptb10 plr10 modelMessage_msg">{{msg}}</div>
        </div>
    </transition>
</template>

<script>
export default {
    props: {
        msg: {
            type: String,
            default: '弹出框'
        },
        isShow: {
            type: Boolean,
            defualt: false
        }
    }
}
</script>

<style>
.modelMessage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;     
}
.modelMessage_msg {
    background: rgba(3, 3, 3, .3);
    color: #fff;
    font-size: 14px;
}
</style>